package ligne2vie.topos.client.maps.events;

import java.util.List;

import ligne2vie.topos.shared.bo.TMapPoint;

/**
 * The class {@link MapPointsDisplayEvent} allows warning {@link MapObserver} that {@link TMapPoint} have been displayed
 * on the map.
 * 
 * @author thuguerre
 * @since 1.1.0
 */
public class MapPointsDisplayEvent implements MapEvent {

	/**
	 * Displayed points.
	 */
	private List<TMapPoint> points = null;

	/**
	 * Default constructor.
	 * 
	 * @param points
	 *            Displayed points.
	 */
	public MapPointsDisplayEvent(List<TMapPoint> points) {
		this.points = points;
	}

	public List<TMapPoint> getPoints() {
		return points;
	}
}
